package controller;

import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;

public class WerknemerWijzigenController implements ActionListener{

	SwitchPanel sp;
	
	public WerknemerWijzigenController (SwitchPanel switchpanel){
		sp = switchpanel;
	}
	
	@Override
	public void actionPerformed(ActionEvent e) {
		if (e.getActionCommand() == "annuleren") {
			sp.switchpanelto("Werknemers");
		}
		
	}

}
